package org.jcnc.staffingsystem;

import atlantafx.base.theme.PrimerLight;
import javafx.application.Application;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
import org.jcnc.staffingsystem.stage.loginScene;

/**
 * @author 许轲
 * Created on 2024/2/20$
 */
public class InitUI {
    public static void initUI(Stage primaryStage) {
        Parent loginScene = new loginScene().getBorderPane();

        Scene scene = new Scene(loginScene, 1000, 600);

        Application.setUserAgentStylesheet(new PrimerLight().getUserAgentStylesheet());
        primaryStage.setTitle("员工培训管理系统V1.0");
        primaryStage.setScene(scene);
        primaryStage.show();
    }




}
